package com.itheima.tlias84.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * 分页查询学生信息
 */
@Data
@Component("lisi")
public class SelectStudentDTO {
    private int id;
    private String name;
    private String no;
    private String clazzName;
    private Integer gender;
    private String phone;
    private Integer degree;
    private int violationCount;
    private int violationScore;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
